const Router = require('koa-router');
const configController = require('../controllers/configController');

const router = new Router();

// 配置管理路由
router.post('/api/config/auth-token', configController.setAuthToken);
router.get('/api/config/status', configController.getConfigStatus);
router.delete('/api/config/auth-token', configController.clearAuthToken);
router.post('/api/config/auth-token/test', configController.testAuthToken);

module.exports = router;